3.13.26 \(\int \frac {(1-2 x)^3 (3+5 x)^2}{(2+3 x)^2} \, dx\)

Optimal. Leaf size=48 \[ -\frac {50 x^4}{9}+\frac {980 x^3}{81}-\frac {313 x^2}{27}+\frac {2323 x}{243}-\frac {343}{729 (3 x+2)}-\frac {3724}{729} \log (3 x+2) \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {88} \begin {gather*} -\frac {50 x^4}{9}+\frac {980 x^3}{81}-\frac {313 x^2}{27}+\frac {2323 x}{243}-\frac {343}{729 (3 x+2)}-\frac {3724}{729} \log (3 x+2) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((1 - 2*x)^3*(3 + 5*x)^2)/(2 + 3*x)^2,x]

[Out]

(2323*x)/243 - (313*x^2)/27 + (980*x^3)/81 - (50*x^4)/9 - 343/(729*(2 + 3*x)) - (3724*Log[2 + 3*x])/729

Rule 88

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandI
ntegrand[(a + b*x)^m*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && IntegersQ[m, n] &&
(IntegerQ[p] || (GtQ[m, 0] && GeQ[n, -1]))

Rubi steps

\begin {align*} \int \frac {(1-2 x)^3 (3+5 x)^2}{(2+3 x)^2} \, dx &=\int \left (\frac {2323}{243}-\frac {626 x}{27}+\frac {980 x^2}{27}-\frac {200 x^3}{9}+\frac {343}{243 (2+3 x)^2}-\frac {3724}{243 (2+3 x)}\right ) \, dx\\ &=\frac {2323 x}{243}-\frac {313 x^2}{27}+\frac {980 x^3}{81}-\frac {50 x^4}{9}-\frac {343}{729 (2+3 x)}-\frac {3724}{729} \log (2+3 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 49, normalized size = 1.02 \begin {gather*} \frac {-36450 x^5+55080 x^4-23139 x^3+12015 x^2+148152 x-11172 (3 x+2) \log (30 x+20)+69863}{2187 (3 x+2)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((1 - 2*x)^3*(3 + 5*x)^2)/(2 + 3*x)^2,x]

[Out]

(69863 + 148152*x + 12015*x^2 - 23139*x^3 + 55080*x^4 - 36450*x^5 - 11172*(2 + 3*x)*Log[20 + 30*x])/(2187*(2 +
 3*x))

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(1-2 x)^3 (3+5 x)^2}{(2+3 x)^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((1 - 2*x)^3*(3 + 5*x)^2)/(2 + 3*x)^2,x]

[Out]

IntegrateAlgebraic[((1 - 2*x)^3*(3 + 5*x)^2)/(2 + 3*x)^2, x]

________________________________________________________________________________________

fricas [A]  time = 1.34, size = 47, normalized size = 0.98 \begin {gather*} -\frac {12150 \, x^{5} - 18360 \, x^{4} + 7713 \, x^{3} - 4005 \, x^{2} + 3724 \, {\left (3 \, x + 2\right )} \log \left (3 \, x + 2\right ) - 13938 \, x + 343}{729 \, {\left (3 \, x + 2\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^2/(2+3*x)^2,x, algorithm="fricas")

[Out]

-1/729*(12150*x^5 - 18360*x^4 + 7713*x^3 - 4005*x^2 + 3724*(3*x + 2)*log(3*x + 2) - 13938*x + 343)/(3*x + 2)

________________________________________________________________________________________

giac [A]  time = 0.93, size = 66, normalized size = 1.38 \begin {gather*} \frac {1}{2187} \, {\left (3 \, x + 2\right )}^{4} {\left (\frac {2180}{3 \, x + 2} - \frac {12297}{{\left (3 \, x + 2\right )}^{2}} + \frac {34797}{{\left (3 \, x + 2\right )}^{3}} - 150\right )} - \frac {343}{729 \, {\left (3 \, x + 2\right )}} + \frac {3724}{729} \, \log \left (\frac {{\left | 3 \, x + 2 \right |}}{3 \, {\left (3 \, x + 2\right )}^{2}}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^2/(2+3*x)^2,x, algorithm="giac")

[Out]

1/2187*(3*x + 2)^4*(2180/(3*x + 2) - 12297/(3*x + 2)^2 + 34797/(3*x + 2)^3 - 150) - 343/729/(3*x + 2) + 3724/7
29*log(1/3*abs(3*x + 2)/(3*x + 2)^2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 37, normalized size = 0.77 \begin {gather*} -\frac {50 x^{4}}{9}+\frac {980 x^{3}}{81}-\frac {313 x^{2}}{27}+\frac {2323 x}{243}-\frac {3724 \ln \left (3 x +2\right )}{729}-\frac {343}{729 \left (3 x +2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^3*(5*x+3)^2/(3*x+2)^2,x)

[Out]

2323/243*x-313/27*x^2+980/81*x^3-50/9*x^4-343/729/(3*x+2)-3724/729*ln(3*x+2)

________________________________________________________________________________________

maxima [A]  time = 0.48, size = 36, normalized size = 0.75 \begin {gather*} -\frac {50}{9} \, x^{4} + \frac {980}{81} \, x^{3} - \frac {313}{27} \, x^{2} + \frac {2323}{243} \, x - \frac {343}{729 \, {\left (3 \, x + 2\right )}} - \frac {3724}{729} \, \log \left (3 \, x + 2\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3*(3+5*x)^2/(2+3*x)^2,x, algorithm="maxima")

[Out]

-50/9*x^4 + 980/81*x^3 - 313/27*x^2 + 2323/243*x - 343/729/(3*x + 2) - 3724/729*log(3*x + 2)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 34, normalized size = 0.71 \begin {gather*} \frac {2323\,x}{243}-\frac {3724\,\ln \left (x+\frac {2}{3}\right )}{729}-\frac {343}{2187\,\left (x+\frac {2}{3}\right )}-\frac {313\,x^2}{27}+\frac {980\,x^3}{81}-\frac {50\,x^4}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-((2*x - 1)^3*(5*x + 3)^2)/(3*x + 2)^2,x)

[Out]

(2323*x)/243 - (3724*log(x + 2/3))/729 - 343/(2187*(x + 2/3)) - (313*x^2)/27 + (980*x^3)/81 - (50*x^4)/9

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 41, normalized size = 0.85 \begin {gather*} - \frac {50 x^{4}}{9} + \frac {980 x^{3}}{81} - \frac {313 x^{2}}{27} + \frac {2323 x}{243} - \frac {3724 \log {\left (3 x + 2 \right )}}{729} - \frac {343}{2187 x + 1458} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**3*(3+5*x)**2/(2+3*x)**2,x)

[Out]

-50*x**4/9 + 980*x**3/81 - 313*x**2/27 + 2323*x/243 - 3724*log(3*x + 2)/729 - 343/(2187*x + 1458)

________________________________________________________________________________________